package com.kool.kadmin.system.dao;

import com.kool.kadmin.system.bean.SysUserRoleDo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author luyu
 */
public interface SysUserRoleDao {
    int insert(SysUserRoleDo sysUserRoleDo);

    int deleteByUserId(@Param("userId") Long userId);

    int batchInsert(List<SysUserRoleDo> list);
}
